<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>app</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body>

{template 'header.html'}

<div class="container">
	
    <div class="main">
 
   			<div class="head">app分类</div>
            <div class="inner keywords">
            	<strong>安卓应用：</strong> 
                <a href="{url("?module=app&action=tag&name=输入法")}">输入法</a> 
                <a href="{url("?module=app&action=tag&name=浏览器")}">浏览器</a>
                <a href="{url("?module=app&action=tag&name=动态壁纸")}">动态壁纸</a>
                <a href="{url("?module=app&action=tag&name=系统工具")}">系统工具</a>
                <a href="{url("?module=app&action=tag&name=便捷生活")}">便捷生活</a>
                <a href="{url("?module=app&action=tag&name=影音播放")}">影音播放</a>
                <a href="{url("?module=app&action=tag&name=通话通讯")}">通话通讯</a>
                <a href="{url("?module=app&action=tag&name=社交网络")}">社交网络</a>
                <br/>
                <a style="margin:0 0 0 72px;" href="{url("?module=app&action=tag&name=主题插件")}">主题插件</a>
                <a href="{url("?module=app&action=tag&name=拍摄美化")}">拍摄美化</a>
                <a href="{url("?module=app&action=tag&name=新闻资讯")}">新闻资讯</a>
                <a href="{url("?module=app&action=tag&name=图书阅读")}">图书阅读</a>
                <a href="{url("?module=app&action=tag&name=学习办公")}">学习办公</a>
                <a href="{url("?module=app&action=tag&name=网购支付")}">网购支付</a>
                <a href="{url("?module=app&action=tag&name=金融理财")}">金融理财</a>
                <br/>
                <strong>安卓游戏：</strong> 
                <a href="{url("?module=app&action=tag&name=动作竞技")}">动作竞技</a> 
                <a href="{url("?module=app&action=tag&name=策略游戏")}">策略游戏</a>
                <a href="{url("?module=app&action=tag&name=角色养成")}">角色养成</a>
                <a href="{url("?module=app&action=tag&name=射击游戏")}">射击游戏</a>
                <a href="{url("?module=app&action=tag&name=体育赛车")}">体育赛车</a>
                <a href="{url("?module=app&action=tag&name=益智棋牌")}">益智棋牌</a>
                <a href="{url("?module=app&action=tag&name=模拟辅助")}">模拟辅助</a>
            </div>
        
        	 <div class="head"><span>app应用</span></div>
             
             
             <style>
			 	.list li{
					border-bottom:1px dashed #CCCCCC; margin:20px 0 0 0; height:auto; overflow:hidden;
				}
				.list li .thumb{
					float:left; display:inline;
				}
				.list li .desc{
					float:left; display:inline; width:500px; margin:0 0 0 20px;
				}
				.list li p{
					margin:0; padding:0;
				}
			 </style>
             <ul class="list">
          	
              {get sql="SELECT * FROM `table_app` WHERE  status=99 ORDER BY appid DESC" rows="20" page="$page"}
              {php $keywords = explode(',',$r[keywords]);}
                <li>
                	<img src="{php echo $r[thumb] ? $r[thumb] : 'misc/nopic.gif'}" width="48" height="48" class="thumb"/>
                	<div class="desc">
                    	<p><a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 300)}</a></p>
                        <p>{str_cut($r[description], 300)}</p>
                        <p><a target="_blank" href="{url("?module=space&userid=$r[userid]")}">{username($r[userid])}</a>发布于：{date('Y-m-d',$r[updatetime])}</p>
                        
                        {if $keywords}
                        <p>tag:
                            {loop $keywords $k $v}
                            <a href="{url("?module=app&action=tag&name=$v")}">{$v}</a>
                            {/loop}
                        </p>
                        {/if}
                    </div>
                   
                </li>
    
              {/get}
            </ul>
            
            <div class="pagination">
            	{$pages}
            </div>

    </div>
    
    <div class="aside">
    
    	<div class="head">我要分享</div>
        <div class="inner">
        	<a href="{url("?module=$module&action=add")}"><img src="skin/images/share.gif"/></a>
        </div>
    	
        <div class="head">本月关注度最高{$catname}</div>
        <div>
              <ul>
            {get sql="SELECT * FROM `table_app` WHERE  status=99 ORDER BY hits DESC" rows="20" page="$page"}
            <li>({$r[hits]})&nbsp;<a href="{url($r[url])}" target="{$target}">{str_cut($r[title], 300)}</a></li>
            {/get}
             </ul>
        </div>
        
        <div class="head">热门标签</div>
    	<div class="inner ">
          <!--{get sql="select tag,hits from table_keyword where `module` = 'app' order by listorder desc,hits desc" rows="50"}-->
            <a href="{url("?module=app&action=tag&name=".urlencode($r[tag]))}">{$r[tag]} <small>({$r[hits]})</small></a>
          <!--{/get}-->
          </div>
          
    </div>
</div>


{template 'footer.html'}

